package com.ipartek.pruebas.bean;

import com.ipartek.pruebas.interfaces.DriveableP10;

public class CortaCespedP10 extends VehiculoP10 implements DriveableP10 {
	String arranque;
	
	

	public CortaCespedP10(String fabricante, String modelo, int potencia,
			boolean bTraccion, String arranque) {
		super(fabricante, modelo, potencia, bTraccion);
		this.arranque = arranque;
	}

	public String getRotors() {
		return arranque;
	}
	public void setRotors(String arranque) {
		this.arranque = arranque;
	}

	@Override
	public boolean startEngine() {
		return false;
	}

	@Override
	public void stopEngine() {
	}

	//
	@Override
	public float accelerate(float acc) {
		return 0;
	}

	@Override
	public int turn(int nowDirection, int newDirection) {
		return newDirection;
	}

	@Override
	public boolean AssuranceRules() {
		return false;
	}

	@Override
	public boolean TellRegion() {
		return false;
	}
	
	@Override
	public String toString() {
		return fabricante + ";" + modelo + ";" + potencia + ";" + bTraccion
				+ ";" + arranque;
	}
	
	
}
